package com.dkd.sbtz.service;

import java.util.List;
import com.dkd.sbtz.domain.AssetOrderAttachment;

/**
 * 工单附件Service接口
 * 
 * @author xzj
 * @date 2025-09-18
 */
public interface IAssetOrderAttachmentService 
{
    /**
     * 查询工单附件
     * 
     * @param id 工单附件主键
     * @return 工单附件
     */
    public AssetOrderAttachment selectAssetOrderAttachmentById(Long id);

    /**
     * 查询工单附件列表
     * 
     * @param assetOrderAttachment 工单附件
     * @return 工单附件集合
     */
    public List<AssetOrderAttachment> selectAssetOrderAttachmentList(AssetOrderAttachment assetOrderAttachment);

    /**
     * 新增工单附件
     * 
     * @param assetOrderAttachment 工单附件
     * @return 结果
     */
    public int insertAssetOrderAttachment(AssetOrderAttachment assetOrderAttachment);

    /**
     * 修改工单附件
     * 
     * @param assetOrderAttachment 工单附件
     * @return 结果
     */
    public int updateAssetOrderAttachment(AssetOrderAttachment assetOrderAttachment);

    /**
     * 批量删除工单附件
     * 
     * @param ids 需要删除的工单附件主键集合
     * @return 结果
     */
    public int deleteAssetOrderAttachmentByIds(Long[] ids);

    /**
     * 删除工单附件信息
     * 
     * @param id 工单附件主键
     * @return 结果
     */
    public int deleteAssetOrderAttachmentById(Long id);

    List<AssetOrderAttachment> listByOrderId(Long orderId);
    int saveBatch(List<AssetOrderAttachment> list);
    int deleteByIds(Long[] ids);
}
